Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude webhook routes from CSRF protection #875

Merged
merged 2 commits into from
May 27, 2023

Conversation

duncanmcclean
Copy link
Owner

This pull request excludes gateway webhook routes from Laravel's CSRF protection middleware.

Currently, it's recommended that users add gateway URLs to the VerifyCsrfToken middleware in their app. However, we can do this inside Simple Commerce so no action is required by the user.

@duncanmcclean duncanmcclean merged commit b271f7e into 5.x May 27, 2023
3 checks passed
@duncanmcclean duncanmcclean deleted the exclude-csrf-from-gateway-webhook-route branch May 27, 2023 14:19
@github-actions
Copy link

Released as part of v5.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant